// const Layout = () => import("@/layout/index.vue");

export default {
  path: "/docs",
  name: "Docs",
  // component: Layout,
  redirect: "/docs/index",
  meta: {
    icon: "ep/info-filled",
    title: "说明文档",
    rank: 99
  },
  children: [
    {
      path: "/docs/index",
      name: "DocsIndex",
      component: () => import("@/views/docs/index.vue"),
      meta: {
        icon: "ep/circle-check-filled",
        title: "基本结构和路由菜单"
      }
    },
    {
      path: "/docs/icon",
      name: "DocsIcon",
      component: () => import("@/views/docs/icon.vue"),
      meta: {
        icon: "ep/picture",
        title: "图标的使用"
      }
    },
    {
      path: "/docs/http",
      name: "Http",
      component: () => import("@/views/docs/http.vue"),
      meta: {
        icon: "ep/position",
        title: "HTTP请求"
      }
    }
  ]
} satisfies RouteConfigsTable;
